<script>
/**
 * @desc 收入支出情况列表
 */

import DayBillList from '@/components/day-bill-list'

export default {
  name: 'detail-list',

  props: {
    typeIndex: {
      type: Number,
      default: 0
    },
    list: {
      type: Array,
      default: () => []
    }
  },

  components: { DayBillList }
}
</script>

<template>
  <div :class="$sty.container">
    <day-bill-list
      :key="i"
      :list="v"
      :type="typeIndex + 1"
      v-for="(v,i) in list"
    />
  </div>
</template>

<style lang="scss" module>
.container {
  padding: $content-box-padding;
  background-color: #fff;
}
</style>
